type runtime.mheap
24 uses
runtime (current package)
arena.go#L997: func (h *mheap) allocUserArenaChunk() *mspan {
malloc.go#L741: func (h *mheap) sysAlloc(n uintptr, hintList **arenaHint, arenaList *[]arenaIdx) (v unsafe.Pointer, size uintptr) {
malloc.go#L937: func (h *mheap) enableMetadataHugePages() {
mgcsweep.go#L96: func (h *mheap) nextSpanForSweep() *mspan {
mheap.go#L64: type mheap struct {
mheap.go#L264: var mheap_ mheap
mheap.go#L545: h := (*mheap)(vh)
mheap.go#L787: func (h *mheap) init() {
mheap.go#L832: func (h *mheap) reclaim(npage uintptr) {
mheap.go#L912: func (h *mheap) reclaimChunk(arenas []arenaIdx, pageIdx, n uintptr) uintptr {
mheap.go#L1006: func (h *mheap) alloc(npages uintptr, spanclass spanClass) *mspan {
mheap.go#L1039: func (h *mheap) allocManual(npages uintptr, typ spanAllocType) *mspan {
mheap.go#L1048: func (h *mheap) setSpans(base, npage uintptr, s *mspan) {
mheap.go#L1072: func (h *mheap) allocNeedsZero(base, npage uintptr) (needZero bool) {
mheap.go#L1137: func (h *mheap) tryAllocMSpan() *mspan {
mheap.go#L1160: func (h *mheap) allocMSpanLocked() *mspan {
mheap.go#L1192: func (h *mheap) freeMSpanLocked(s *mspan) {
mheap.go#L1224: func (h *mheap) allocSpan(npages uintptr, typ spanAllocType, spanclass spanClass) (s *mspan) {
mheap.go#L1439: func (h *mheap) initSpan(s *mspan, typ spanAllocType, spanclass spanClass, base, npages, scav uintptr) {
mheap.go#L1553: func (h *mheap) grow(npage uintptr) (uintptr, bool) {
mheap.go#L1666: func (h *mheap) freeSpan(s *mspan) {
mheap.go#L1710: func (h *mheap) freeManual(s *mspan, typ spanAllocType) {
mheap.go#L1730: func (h *mheap) freeSpanLocked(s *mspan, typ spanAllocType) {
mheap.go#L1795: func (h *mheap) scavengeAll() {
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |